#ifndef __WEB_H__
#define __WEB_H__

#include "BaseLayer.h"

class Web : public BaseLayer {
public:
	Web() {}
	~Web() {}
	virtual bool init();
	static CCScene* scene();
	CREATE_FUNC(Web);

public:
	void testWeb();

public:
	void update(float dt);

public:
	virtual bool ccTouchBegan(CCTouch *pTouch, CCEvent *pEvent);
	virtual void ccTouchMoved(CCTouch *pTouch, CCEvent *pEvent);
	virtual void ccTouchEnded(CCTouch *pTouch, CCEvent *pEvent);

private:
	b2MouseJoint* m_mouseJoint;
};

#endif // __WEB_H__